<section class="pack-detail">
	<article class="column-description">
		<p class="description museo100">
			<strong><?php echo $this->prd->product->name ?></strong>
			<?php echo $this->prd->product->description ?>
		</p>
		<ul class="sizes">
			<?php foreach( $this->prd->stock as $value ): ?>
			<li class="museo100<?php echo !isset($active) ? $active = ' active' : $active = ''; ?>"><?php echo $this->prd->sizes[ $value->idSize ] . '<em>' . $value->sizeDescription . '</em>' ?></li>
			<?php endforeach; ?>
			<li class="sizeDescription"><?php echo $this->prd->stock[0]->sizeDescription ?></li>
		</ul>
		<div class="highlight">
			<p class="price"><span>R$</span><strong><?php echo str_replace( '.',',',$this->prd->detail->cost ) ?></strong></p>
			<p class="option-colors">
				<label for="colors">
					<select class="colors" name="colors">
					<?php foreach( $this->prd->otherColors as $value ): ?>
						<option<?php echo ($this->prd->detail->idColor == $value->idColor) ? ' selected="selected"' : ''?> value='<?php echo __LINKS__.'produtos/detalhes/'.$value->idDetail.'/'.Nadeb_ClearLinks::clear( $this->prd->product->name ) ?>'>
							<?php echo $this->prd->colors[ $value->idColor ] ?>
						</option>
					<?php endforeach; ?>
					</select>
					<span>Opções de Cores</span>
				</label>
			</p>
			<p class="addItemCart"><a href="<?php echo __LINKS__?>carrinho/add/<?php echo $this->prd->detail->idDetail ?>/<?php echo $this->prd->stock[0]->idSize ?>">Adicionar ao Carrinho</a></p>
		</div>
		<p class="code-item">Código do Produto <?php echo $this->prd->detail->code ?></p>
		
		<h3 class="museo100">Indique para um amigo</h3>
		<form method="post" action="/index/save-news-letter/" class="formNewsLetter">
			<fieldset>
				<label class="email"><input type="text" size="10" name="email" value="digite aqui o e-mail"></label>
				<input class="sendNews museo100" type="submit" value="enviar">
            </fieldset>
		</form>
		<h3 class="museo100">Espalhe</h3>
		<ul class="share museo100">
			<li><a href="#">Share</a></li>
			<li><a href="#">Tweet</a></li>
		</ul>
	
	</article>

	<article class="coloum-images">
		<div class="image">
			<span class="wrapperImage">
				<?php if( isset( $this->prd->gallery[0] ) ): ?>
				<img src="<?php echo __ROOT__ . 'public/uploads/cache/tm01-'. $this->prd->gallery[0]->file ?>" alt="-">
				<?php else: ?>
				<img src="http://dummyimage.com/495x540/ebebeb/424242.jpg&text=imagem+indisponiv%C3%A9l" alt="-">
				<?php endif; ?>
			</span>
			<span class="zoom">Zoom</span>
		</div>
		<ul class="more-images">
			<?php if( isset( $this->prd->gallery[0] ) ):
					foreach( $this->prd->gallery as $value ): 
						echo '<li><img src="' . __ROOT__ . 'public/uploads/cache/tm01-' . $value->file . '" alt="-" height="115" class="changeBigThumb"></li>';
					endforeach; 
			endif; ?>
		</ul>

 		<ul class="zoom-images">
 		<?php echo Zend_Json_Encoder::encode(
 			array(
	 			'bigPath' => __ROOT__ . 'public/uploads/' . $this->prd->detail->folder,
	 			'smallPath' => __ROOT__ . 'public/uploads/cache/tm01-',
	 			'files' => $this->prd->gallery
 			) 
 		); ?>
 		</ul>
	</article>

</section>


<section class="pack-simple">
	<h1 class="museo titleHighlight">Itens relacionados</h1>
	<?php echo $this->packsimple( $this->promotions ) ?>
</section>

